﻿using Abp.Application.Services.Dto;
using System;

namespace Camc.Quality.Dto.TableOutDto
{
    /// <summary>
    /// 插头状态检查表
    /// </summary>
    public class PlugStateOutDto : FullAuditedEntityDto<Guid>
    {
        #region 基础元素
        /// <summary>
        /// 表名
        /// </summary>
        public virtual string FormName { get; set; }
        /// <summary>
        /// 工步ID
        /// </summary>
        public virtual Guid WorkStepEntityId { get; set; }
        /// <summary>
        /// 工序ID
        /// </summary>
        public virtual Guid ProcessesEntityId { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public virtual int Sort { get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        public virtual int Index { get; set; }
        
        
        #endregion

        #region 所属部段
        /// <summary>
        /// 所属部段值
        /// </summary>
        public virtual string Step { get; set; }
        /// <summary>
        /// 所属部段列名
        /// </summary>
        public virtual string Step_DisplayName { get;set; }
        /// <summary>
        /// 是否可操作
        /// </summary>
        public virtual bool Step_Enable { get;set; }
        /// <summary>
        /// 是否显示
        /// </summary>
        public virtual bool Step_Show { get;set; }
        #endregion

        #region 图号1
        /// <summary>
        /// 图号值
        /// </summary>
        public virtual string DrawingCode { get; set; }
        /// <summary>
        /// 图号列名
        /// </summary>
        public virtual string DrawingCode_DisplayName { get; set; }
        /// <summary>
        /// 是否可操作
        /// </summary>
        public virtual bool DrawingCode_Enable { get; set; }
        /// <summary>
        /// 是否显示
        /// </summary>
        public virtual bool DrawingCode_Show { get; set; }
        #endregion

        /// <summary>
        /// 产品状态
        /// </summary>
        public string CPState { get; set; }

        #region 确认状态
        /// <summary>
        /// 确认状态值
        /// </summary>
        public virtual string ConfirmationState { get; set; }
        /// <summary>
        /// 确认状态列名
        /// </summary>
        public virtual string ConfirmationState_DisplayName { get;set; }
        /// <summary>
        /// 是否可操作
        /// </summary>
        public virtual bool ConfirmationState_Enable { get;set; }
        /// <summary>
        /// 是否显示
        /// </summary>
        public virtual bool ConfirmationState_Show { get;set; }
        #endregion

        #region 确认结果
        /// <summary>
        /// 结果值
        /// </summary>
        public virtual bool ConfirmationResults { get; set; }
        /// <summary>
        /// 结果列名
        /// </summary>
        public virtual string ConfirmationResults_DisplayName { get; set; }
        /// <summary>
        /// 是否可操作
        /// </summary>
        public virtual bool ConfirmationResults_Enable { get;set; }
        /// <summary>
        /// 是否显示
        /// </summary>
        public virtual bool ConfirmationResults_Show { get;set; }
        #endregion

        /// <summary>
        /// 多媒体
        /// </summary>
        public MultiMediaOutDto MultiMediaEntity { get; set; }

        /// <summary>
        /// 三检
        /// </summary>
        public ThirdInspectionOutDto ThirdInspection { get; set; }
    }
}
